package com.gitee.chenyaohua.dto;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

@XmlRootElement(name = "generation")
public class Generation {

    private List<Connection> connection;


    private List<AttrValue>  properties;

    public List<Connection> getConnection() {
        return connection;
    }

    public void setConnection(List<Connection> connection) {
        this.connection = connection;
    }

    @XmlElementWrapper(name = "properties")
    @XmlElement(name = "value")
    public List<AttrValue> getProperties() {
        return properties;
    }

    public void setProperties(List<AttrValue> properties) {
        this.properties = properties;
    }
}
